package com.sqfw.project.wp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sqfw.framework.aspectj.lang.annotation.Excel;
import com.sqfw.framework.web.domain.BaseEntity;

/**
 * 工单申请管理对象 wp_apply_item
 * 
 * @author lx
 * @date 2023-08-14
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class WpApplyItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long autoId;

    /** 申请类型（临时/周期） */
    @Excel(name = "申请类型", readConverterExp = "临时/周期")
    private String applyType;

    /** 承办单位id */
    @Excel(name = "承办单位id")
    private Long deptId;

    /** 申请理由 */
    @Excel(name = "申请理由")
    private String applyReason;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applyUser;

    /** 申请单位id */
    @Excel(name = "申请单位id")
    private Long applyDeptId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applySatrtTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyEndTime;

    /** 下载次数 */
    @Excel(name = "下载次数")
    private Long downloadCount;

    /** 申请状态（值到那一步流程） */
    @Excel(name = "申请状态", readConverterExp = "指到哪一步流程")
    private String applyState;

    /** 不通过原因 */
    @Excel(name = "不通过原因")
    private String noPassReason;

    /** 是否接受隐私协议（0：不接受，1：接受） */
    @Excel(name = "是否接受隐私协议", readConverterExp = "0：不接受，1：接受")
    private String agreement;

    @Excel(name = "审核状态")
    private String status;

    //审核人审核结果(0:不通过，1：通过)
    private String reviewedSatus;

    private String applyDeptName;

    private String nextDepartment1;

    private Boolean downLoadStatus;

    //阶段
    private String stage;



}
